package model

type Jzw struct {
	Id         int64  `gorm:"primaryKey;column:id"json:"id" `
	SchoolId   int64  `gorm:"column:school_id;default:0"json:"school_id"`
	JzwName    string `gorm:"column:jzw_name;default:''" json:"jzw_name"`
	Address    string `gorm:"column:address;default:''" json:"address"`
	CreateTime int64  `gorm:"column:create_time;default:0" json:"create_time" `
}

func (Jzw) TableName() string {
	return "fd_jzw"
}

type JoinJzw struct {
	Id      int64  `json:"id" `
	JzwName string `json:"jzw_name"`
	Address string `json:"address"`
}

func (JoinJzw) TableName() string {
	return "fd_jzw"
}
